package com.dingpeikeji.quickdeer.mobile.dao;

import java.util.List;

import com.dingpeikeji.quickdeer.core.common.persistence.CrudDao;
import com.dingpeikeji.quickdeer.core.common.persistence.annotation.MyBatisDao;
import com.dingpeikeji.quickdeer.core.modules.trip.entity.MealsInfo;
import com.dingpeikeji.quickdeer.mobile.entity.TripCounselorInfo;

/**
 * 获取行程全部信息
 */
@MyBatisDao
public interface TripCounselorDao extends CrudDao<TripCounselorInfo> {
	

	public int insertTrip(TripCounselorInfo tripCounselor);
	
	public List<TripCounselorInfo> getTripCounselorList(String userId);
	
	public Integer insertPreview(TripCounselorInfo tripCounselor);
	
	public Integer updateTripPreview(TripCounselorInfo tripCounselor);
	
	public List<TripCounselorInfo> getTripPreviewList(String tripCounselorId);
	
	public TripCounselorInfo getPreviewById (String tripPreviewId);
	
	public Integer deleteById(String tripPreviewId);
	
	public Integer setShow(String tripCounselorId);
	
	public Integer setDisable(String tripCounselorId);
	
	public MealsInfo getMeals();
	
	public Integer updateMeals(MealsInfo info);

	public Integer updateTripState(String orderId, String payState);

	public TripCounselorInfo getTripByOrderId(String orderId);
	
	
}